<?php

namespace App\Http\Controllers;

use Illuminate\Http\Request;

class AjaxController extends Controller
{
    public function index(){
    	$msg = "this is a message";
    	return response()->json(['msg'=>$msg],200);
    }
}
